\(\int \frac {1}{(d+e x) (f+g x)^3 (a+b x+c x^2)^{3/2}} \, dx\) [885]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [F(-1)]
   Sympy [F(-1)]
   Maxima [F]
   Giac [B] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 29, antiderivative size = 1064 \[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=-\frac {2 e^3 \left (b c d-b^2 e+2 a c e+c (2 c d-b e) x\right )}{\left (b^2-4 a c\right ) \left (c d^2-b d e+a e^2\right ) (e f-d g)^3 \sqrt {a+b x+c x^2}}+\frac {2 e^2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b f g+a g^2\right ) \sqrt {a+b x+c x^2}}+\frac {2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right ) (f+g x)^2 \sqrt {a+b x+c x^2}}+\frac {2 e g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right ) (f+g x) \sqrt {a+b x+c x^2}}+\frac {g^2 \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) \sqrt {a+b x+c x^2}}{2 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^2 (f+g x)^2}+\frac {e g^2 \left (4 c^2 f^2+3 b^2 g^2-4 c g (b f+2 a g)\right ) \sqrt {a+b x+c x^2}}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^2 (f+g x)}+\frac {g^2 (2 c f-b g) \left (8 c^2 f^2+15 b^2 g^2-4 c g (2 b f+13 a g)\right ) \sqrt {a+b x+c x^2}}{4 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^3 (f+g x)}+\frac {e^5 \text {arctanh}\left (\frac {b d-2 a e+(2 c d-b e) x}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x+c x^2}}\right )}{\left (c d^2-b d e+a e^2\right )^{3/2} (e f-d g)^3}-\frac {3 e g^3 (2 c f-b g) \text {arctanh}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{2 (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^{5/2}}-\frac {e^2 g^3 \text {arctanh}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{(e f-d g)^3 \left (c f^2-b f g+a g^2\right )^{3/2}}-\frac {3 g^3 \left (16 c^2 f^2+5 b^2 g^2-4 c g (4 b f+a g)\right ) \text {arctanh}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{8 (e f-d g) \left (c f^2-b f g+a g^2\right )^{7/2}} \]

[Out]

e^5*arctanh(1/2*(b*d-2*a*e+(-b*e+2*c*d)*x)/(a*e^2-b*d*e+c*d^2)^(1/2)/(c*x^2+b*x+a)^(1/2))/(a*e^2-b*d*e+c*d^2)^
(3/2)/(-d*g+e*f)^3-3/2*e*g^3*(-b*g+2*c*f)*arctanh(1/2*(b*f-2*a*g+(-b*g+2*c*f)*x)/(a*g^2-b*f*g+c*f^2)^(1/2)/(c*
x^2+b*x+a)^(1/2))/(-d*g+e*f)^2/(a*g^2-b*f*g+c*f^2)^(5/2)-e^2*g^3*arctanh(1/2*(b*f-2*a*g+(-b*g+2*c*f)*x)/(a*g^2
-b*f*g+c*f^2)^(1/2)/(c*x^2+b*x+a)^(1/2))/(-d*g+e*f)^3/(a*g^2-b*f*g+c*f^2)^(3/2)-3/8*g^3*(16*c^2*f^2+5*b^2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= 1064, normalized size of antiderivative = 1.00, number of steps used = 19, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.241, Rules used = {974, 754, 12, 738, 212, 848, 820} \[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=\frac {\text {arctanh}\left (\frac {b d-2 a e+(2 c d-b e) x}{2 \sqrt {c d^2-b e d+a e^2} \sqrt {c x^2+b x+a}}\right ) e^5}{\left (c d^2-b e d+a e^2\right )^{3/2} (e f-d g)^3}-\frac {2 \left (-e b^2+c d b+2 a c e+c (2 c d-b e) x\right ) e^3}{\left (b^2-4 a c\right ) \left (c d^2-b e d+a e^2\right ) (e f-d g)^3 \sqrt {c x^2+b x+a}}-\frac {g^3 \text {arctanh}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b g f+a g^2} \sqrt {c x^2+b x+a}}\right ) e^2}{(e f-d g)^3 \left (c f^2-b g f+a g^2\right )^{3/2}}+\frac {2 g \left (-g b^2+c f b+2 a c g+c (2 c f-b g) x\right ) e^2}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b g f+a g^2\right ) \sqrt {c x^2+b x+a}}-\frac {3 g^3 (2 c f-b g) \text {arctanh}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b g f+a g^2} \sqrt {c x^2+b x+a}}\right ) e}{2 (e f-d g)^2 \left (c f^2-b g f+a g^2\right )^{5/2}}+\frac {g^2 \left (4 c^2 f^2+3 b^2 g^2-4 c g (b f+2 a g)\right ) \sqrt {c x^2+b x+a} e}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b g f+a g^2\right )^2 (f+g x)}+\frac {2 g \left (-g b^2+c f b+2 a c g+c (2 c f-b g) x\right ) e}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b g f+a g^2\right ) (f+g x) \sqrt {c x^2+b x+a}}-\frac {3 g^3 \left (16 c^2 f^2+5 b^2 g^2-4 c g (4 b f+a g)\right ) \text {arctanh}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b g f+a g^2} \sqrt {c x^2+b x+a}}\right )}{8 (e f-d g) \left (c f^2-b g f+a g^2\right )^{7/2}}+\frac {g^2 (2 c f-b g) \left (8 c^2 f^2+15 b^2 g^2-4 c g (2 b f+13 a g)\right ) \sqrt {c x^2+b x+a}}{4 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b g f+a g^2\right )^3 (f+g x)}+\frac {g^2 \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) \sqrt {c x^2+b x+a}}{2 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b g f+a g^2\right )^2 (f+g x)^2}+\frac {2 g \left (-g b^2+c f b+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b g f+a g^2\right ) (f+g x)^2 \sqrt {c x^2+b x+a}} \]

[In]

Int[1/((d + e*x)*(f + g*x)^3*(a + b*x + c*x^2)^(3/2)),x]

[Out]

(-2*e^3*(b*c*d - b^2*e + 2*a*c*e + c*(2*c*d - b*e)*x))/((b^2 - 4*a*c)*(c*d^2 - b*d*e + a*e^2)*(e*f - d*g)^3*Sq
rt[a + b*x + c*x^2]) + (2*e^2*g*(b*c*f - b^2*g + 2*a*c*g + c*(2*c*f - b*g)*x))/((b^2 - 4*a*c)*(e*f - d*g)^3*(c
*f^2 - b*f*g + a*g^2)*Sqrt[a + b*x + c*x^2]) + (2*g*(b*c*f - b^2*g + 2*a*c*g + c*(2*c*f - b*g)*x))/((b^2 - 4*a
*c)*(e*f - d*g)*(c*f^2 - b*f*g + a*g^2)*(f + g*x)^2*Sqrt[a + b*x + c*x^2]) + (2*e*g*(b*c*f - b^2*g + 2*a*c*g +
 c*(2*c*f - b*g)*x))/((b^2 - 4*a*c)*(e*f - d*g)^2*(c*f^2 - b*f*g + a*g^2)*(f + g*x)*Sqrt[a + b*x + c*x^2]) + (
g^2*(8*c^2*f^2 + 5*b^2*g^2 - 4*c*g*(2*b*f + 3*a*g))*Sqrt[a + b*x + c*x^2])/(2*(b^2 - 4*a*c)*(e*f - d*g)*(c*f^2
 - b*f*g + a*g^2)^2*(f + g*x)^2) + (e*g^2*(4*c^2*f^2 + 3*b^2*g^2 - 4*c*g*(b*f + 2*a*g))*Sqrt[a + b*x + c*x^2])
/((b^2 - 4*a*c)*(e*f - d*g)^2*(c*f^2 - b*f*g + a*g^2)^2*(f + g*x)) + (g^2*(2*c*f - b*g)*(8*c^2*f^2 + 15*b^2*g^
2 - 4*c*g*(2*b*f + 13*a*g))*Sqrt[a + b*x + c*x^2])/(4*(b^2 - 4*a*c)*(e*f - d*g)*(c*f^2 - b*f*g + a*g^2)^3*(f +
 g*x)) + (e^5*ArcTanh[(b*d - 2*a*e + (2*c*d - b*e)*x)/(2*Sqrt[c*d^2 - b*d*e + a*e^2]*Sqrt[a + b*x + c*x^2])])/
((c*d^2 - b*d*e + a*e^2)^(3/2)*(e*f - d*g)^3) - (3*e*g^3*(2*c*f - b*g)*ArcTanh[(b*f - 2*a*g + (2*c*f - b*g)*x)
/(2*Sqrt[c*f^2 - b*f*g + a*g^2]*Sqrt[a + b*x + c*x^2])])/(2*(e*f - d*g)^2*(c*f^2 - b*f*g + a*g^2)^(5/2)) - (e^
2*g^3*ArcTanh[(b*f - 2*a*g + (2*c*f - b*g)*x)/(2*Sqrt[c*f^2 - b*f*g + a*g^2]*Sqrt[a + b*x + c*x^2])])/((e*f -
d*g)^3*(c*f^2 - b*f*g + a*g^2)^(3/2)) - (3*g^3*(16*c^2*f^2 + 5*b^2*g^2 - 4*c*g*(4*b*f + a*g))*ArcTanh[(b*f - 2
*a*g + (2*c*f - b*g)*x)/(2*Sqrt[c*f^2 - b*f*g + a*g^2]*Sqrt[a + b*x + c*x^2])])/(8*(e*f - d*g)*(c*f^2 - b*f*g
+ a*g^2)^(7/2))

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 738

Int[1/(((d_.) + (e_.)*(x_))*Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2]), x_Symbol] :> Dist[-2, Subst[Int[1/(4*c*d
^2 - 4*b*d*e + 4*a*e^2 - x^2), x], x, (2*a*e - b*d - (2*c*d - b*e)*x)/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a,
b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[2*c*d - b*e, 0]

Rule 754

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(d + e*x)^(m + 1)*(b
*c*d - b^2*e + 2*a*c*e + c*(2*c*d - b*e)*x)*((a + b*x + c*x^2)^(p + 1)/((p + 1)*(b^2 - 4*a*c)*(c*d^2 - b*d*e +
 a*e^2))), x] + Dist[1/((p + 1)*(b^2 - 4*a*c)*(c*d^2 - b*d*e + a*e^2)), Int[(d + e*x)^m*Simp[b*c*d*e*(2*p - m
+ 2) + b^2*e^2*(m + p + 2) - 2*c^2*d^2*(2*p + 3) - 2*a*c*e^2*(m + 2*p + 3) - c*e*(2*c*d - b*e)*(m + 2*p + 4)*x
, x]*(a + b*x + c*x^2)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b
*d*e + a*e^2, 0] && NeQ[2*c*d - b*e, 0] && LtQ[p, -1] && IntQuadraticQ[a, b, c, d, e, m, p, x]

Rule 820

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Sim
p[(-(e*f - d*g))*(d + e*x)^(m + 1)*((a + b*x + c*x^2)^(p + 1)/(2*(p + 1)*(c*d^2 - b*d*e + a*e^2))), x] - Dist[
(b*(e*f + d*g) - 2*(c*d*f + a*e*g))/(2*(c*d^2 - b*d*e + a*e^2)), Int[(d + e*x)^(m + 1)*(a + b*x + c*x^2)^p, x]
, x] /; FreeQ[{a, b, c, d, e, f, g, m, p}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && EqQ[S
implify[m + 2*p + 3], 0]

Rule 848

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Sim
p[(e*f - d*g)*(d + e*x)^(m + 1)*((a + b*x + c*x^2)^(p + 1)/((m + 1)*(c*d^2 - b*d*e + a*e^2))), x] + Dist[1/((m
 + 1)*(c*d^2 - b*d*e + a*e^2)), Int[(d + e*x)^(m + 1)*(a + b*x + c*x^2)^p*Simp[(c*d*f - f*b*e + a*e*g)*(m + 1)
 + b*(d*g - e*f)*(p + 1) - c*(e*f - d*g)*(m + 2*p + 3)*x, x], x], x] /; FreeQ[{a, b, c, d, e, f, g, p}, x] &&
NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && LtQ[m, -1] && (IntegerQ[m] || IntegerQ[p] || IntegersQ
[2*m, 2*p])

Rule 974

Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))^(n_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :
> Int[ExpandIntegrand[(d + e*x)^m*(f + g*x)^n*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] &
& NeQ[e*f - d*g, 0] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && (IntegerQ[p] || (ILtQ[m, 0] &&
ILtQ[n, 0])) &&  !(IGtQ[m, 0] || IGtQ[n, 0])

Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {e^3}{(e f-d g)^3 (d+e x) \left (a+b x+c x^2\right )^{3/2}}-\frac {g}{(e f-d g) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}}-\frac {e g}{(e f-d g)^2 (f+g x)^2 \left (a+b x+c x^2\right )^{3/2}}-\frac {e^2 g}{(e f-d g)^3 (f+g x) \left (a+b x+c x^2\right )^{3/2}}\right ) \, dx \\ & = \frac {e^3 \int \frac {1}{(d+e x) \left (a+b x+c x^2\right )^{3/2}} \, dx}{(e f-d g)^3}-\frac {\left (e^2 g\right ) \int \frac {1}{(f+g x) \left (a+b x+c x^2\right )^{3/2}} \, dx}{(e f-d g)^3}-\frac {(e g) \int \frac {1}{(f+g x)^2 \left (a+b x+c x^2\right )^{3/2}} \, dx}{(e f-d g)^2}-\frac {g \int \frac {1}{(f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx}{e f-d g} \\ & = -\frac {2 e^3 \left (b c d-b^2 e+2 a c e+c (2 c d-b e) x\right )}{\left (b^2-4 a c\right ) \left (c d^2-b d e+a e^2\right ) (e f-d g)^3 \sqrt {a+b x+c x^2}}+\frac {2 e^2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b f g+a g^2\right ) \sqrt {a+b x+c x^2}}+\frac {2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right ) (f+g x)^2 \sqrt {a+b x+c x^2}}+\frac {2 e g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right ) (f+g x) \sqrt {a+b x+c x^2}}-\frac {\left (2 e^3\right ) \int -\frac {\left (b^2-4 a c\right ) e^2}{2 (d+e x) \sqrt {a+b x+c x^2}} \, dx}{\left (b^2-4 a c\right ) \left (c d^2-b d e+a e^2\right ) (e f-d g)^3}+\frac {\left (2 e^2 g\right ) \int -\frac {\left (b^2-4 a c\right ) g^2}{2 (f+g x) \sqrt {a+b x+c x^2}} \, dx}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b f g+a g^2\right )}+\frac {(2 e g) \int \frac {\frac {1}{2} g \left (2 b c f-3 b^2 g+8 a c g\right )+c g (2 c f-b g) x}{(f+g x)^2 \sqrt {a+b x+c x^2}} \, dx}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right )}+\frac {(2 g) \int \frac {\frac {1}{2} g \left (4 b c f-5 b^2 g+12 a c g\right )+2 c g (2 c f-b g) x}{(f+g x)^3 \sqrt {a+b x+c x^2}} \, dx}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )} \\ & = -\frac {2 e^3 \left (b c d-b^2 e+2 a c e+c (2 c d-b e) x\right )}{\left (b^2-4 a c\right ) \left (c d^2-b d e+a e^2\right ) (e f-d g)^3 \sqrt {a+b x+c x^2}}+\frac {2 e^2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b f g+a g^2\right ) \sqrt {a+b x+c x^2}}+\frac {2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right ) (f+g x)^2 \sqrt {a+b x+c x^2}}+\frac {2 e g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right ) (f+g x) \sqrt {a+b x+c x^2}}+\frac {g^2 \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) \sqrt {a+b x+c x^2}}{2 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^2 (f+g x)^2}+\frac {e g^2 \left (4 c^2 f^2+3 b^2 g^2-4 c g (b f+2 a g)\right ) \sqrt {a+b x+c x^2}}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^2 (f+g x)}+\frac {e^5 \int \frac {1}{(d+e x) \sqrt {a+b x+c x^2}} \, dx}{\left (c d^2-b d e+a e^2\right ) (e f-d g)^3}-\frac {\left (3 e g^3 (2 c f-b g)\right ) \int \frac {1}{(f+g x) \sqrt {a+b x+c x^2}} \, dx}{2 (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^2}-\frac {g \int \frac {\frac {1}{4} g \left (28 b^2 c f g-80 a c^2 f g-15 b^3 g^2-4 b c \left (2 c f^2-13 a g^2\right )\right )-\frac {1}{2} c g \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) x}{(f+g x)^2 \sqrt {a+b x+c x^2}} \, dx}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^2}-\frac {\left (e^2 g^3\right ) \int \frac {1}{(f+g x) \sqrt {a+b x+c x^2}} \, dx}{(e f-d g)^3 \left (c f^2-b f g+a g^2\right )} \\ & = -\frac {2 e^3 \left (b c d-b^2 e+2 a c e+c (2 c d-b e) x\right )}{\left (b^2-4 a c\right ) \left (c d^2-b d e+a e^2\right ) (e f-d g)^3 \sqrt {a+b x+c x^2}}+\frac {2 e^2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b f g+a g^2\right ) \sqrt {a+b x+c x^2}}+\frac {2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right ) (f+g x)^2 \sqrt {a+b x+c x^2}}+\frac {2 e g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right ) (f+g x) \sqrt {a+b x+c x^2}}+\frac {g^2 \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) \sqrt {a+b x+c x^2}}{2 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^2 (f+g x)^2}+\frac {e g^2 \left (4 c^2 f^2+3 b^2 g^2-4 c g (b f+2 a g)\right ) \sqrt {a+b x+c x^2}}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^2 (f+g x)}+\frac {g^2 (2 c f-b g) \left (8 c^2 f^2+15 b^2 g^2-4 c g (2 b f+13 a g)\right ) \sqrt {a+b x+c x^2}}{4 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^3 (f+g x)}-\frac {\left (2 e^5\right ) \text {Subst}\left (\int \frac {1}{4 c d^2-4 b d e+4 a e^2-x^2} \, dx,x,\frac {-b d+2 a e-(2 c d-b e) x}{\sqrt {a+b x+c x^2}}\right )}{\left (c d^2-b d e+a e^2\right ) (e f-d g)^3}+\frac {\left (3 e g^3 (2 c f-b g)\right ) \text {Subst}\left (\int \frac {1}{4 c f^2-4 b f g+4 a g^2-x^2} \, dx,x,\frac {-b f+2 a g-(2 c f-b g) x}{\sqrt {a+b x+c x^2}}\right )}{(e f-d g)^2 \left (c f^2-b f g+a g^2\right )^2}+\frac {\left (2 e^2 g^3\right ) \text {Subst}\left (\int \frac {1}{4 c f^2-4 b f g+4 a g^2-x^2} \, dx,x,\frac {-b f+2 a g-(2 c f-b g) x}{\sqrt {a+b x+c x^2}}\right )}{(e f-d g)^3 \left (c f^2-b f g+a g^2\right )}-\frac {\left (3 g^3 \left (16 c^2 f^2+5 b^2 g^2-4 c g (4 b f+a g)\right )\right ) \int \frac {1}{(f+g x) \sqrt {a+b x+c x^2}} \, dx}{8 (e f-d g) \left (c f^2-b f g+a g^2\right )^3} \\ & = -\frac {2 e^3 \left (b c d-b^2 e+2 a c e+c (2 c d-b e) x\right )}{\left (b^2-4 a c\right ) \left (c d^2-b d e+a e^2\right ) (e f-d g)^3 \sqrt {a+b x+c x^2}}+\frac {2 e^2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b f g+a g^2\right ) \sqrt {a+b x+c x^2}}+\frac {2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right ) (f+g x)^2 \sqrt {a+b x+c x^2}}+\frac {2 e g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right ) (f+g x) \sqrt {a+b x+c x^2}}+\frac {g^2 \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) \sqrt {a+b x+c x^2}}{2 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^2 (f+g x)^2}+\frac {e g^2 \left (4 c^2 f^2+3 b^2 g^2-4 c g (b f+2 a g)\right ) \sqrt {a+b x+c x^2}}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^2 (f+g x)}+\frac {g^2 (2 c f-b g) \left (8 c^2 f^2+15 b^2 g^2-4 c g (2 b f+13 a g)\right ) \sqrt {a+b x+c x^2}}{4 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^3 (f+g x)}+\frac {e^5 \tanh ^{-1}\left (\frac {b d-2 a e+(2 c d-b e) x}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x+c x^2}}\right )}{\left (c d^2-b d e+a e^2\right )^{3/2} (e f-d g)^3}-\frac {3 e g^3 (2 c f-b g) \tanh ^{-1}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{2 (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^{5/2}}-\frac {e^2 g^3 \tanh ^{-1}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{(e f-d g)^3 \left (c f^2-b f g+a g^2\right )^{3/2}}+\frac {\left (3 g^3 \left (16 c^2 f^2+5 b^2 g^2-4 c g (4 b f+a g)\right )\right ) \text {Subst}\left (\int \frac {1}{4 c f^2-4 b f g+4 a g^2-x^2} \, dx,x,\frac {-b f+2 a g-(2 c f-b g) x}{\sqrt {a+b x+c x^2}}\right )}{4 (e f-d g) \left (c f^2-b f g+a g^2\right )^3} \\ & = -\frac {2 e^3 \left (b c d-b^2 e+2 a c e+c (2 c d-b e) x\right )}{\left (b^2-4 a c\right ) \left (c d^2-b d e+a e^2\right ) (e f-d g)^3 \sqrt {a+b x+c x^2}}+\frac {2 e^2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^3 \left (c f^2-b f g+a g^2\right ) \sqrt {a+b x+c x^2}}+\frac {2 g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right ) (f+g x)^2 \sqrt {a+b x+c x^2}}+\frac {2 e g \left (b c f-b^2 g+2 a c g+c (2 c f-b g) x\right )}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right ) (f+g x) \sqrt {a+b x+c x^2}}+\frac {g^2 \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) \sqrt {a+b x+c x^2}}{2 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^2 (f+g x)^2}+\frac {e g^2 \left (4 c^2 f^2+3 b^2 g^2-4 c g (b f+2 a g)\right ) \sqrt {a+b x+c x^2}}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^2 (f+g x)}+\frac {g^2 (2 c f-b g) \left (8 c^2 f^2+15 b^2 g^2-4 c g (2 b f+13 a g)\right ) \sqrt {a+b x+c x^2}}{4 \left (b^2-4 a c\right ) (e f-d g) \left (c f^2-b f g+a g^2\right )^3 (f+g x)}+\frac {e^5 \tanh ^{-1}\left (\frac {b d-2 a e+(2 c d-b e) x}{2 \sqrt {c d^2-b d e+a e^2} \sqrt {a+b x+c x^2}}\right )}{\left (c d^2-b d e+a e^2\right )^{3/2} (e f-d g)^3}-\frac {3 e g^3 (2 c f-b g) \tanh ^{-1}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{2 (e f-d g)^2 \left (c f^2-b f g+a g^2\right )^{5/2}}-\frac {e^2 g^3 \tanh ^{-1}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{(e f-d g)^3 \left (c f^2-b f g+a g^2\right )^{3/2}}-\frac {3 g^3 \left (16 c^2 f^2+5 b^2 g^2-4 c g (4 b f+a g)\right ) \tanh ^{-1}\left (\frac {b f-2 a g+(2 c f-b g) x}{2 \sqrt {c f^2-b f g+a g^2} \sqrt {a+b x+c x^2}}\right )}{8 (e f-d g) \left (c f^2-b f g+a g^2\right )^{7/2}} \\ \end{align*}

Mathematica [A] (verified)

Time = 15.23 (sec) , antiderivative size = 1013, normalized size of antiderivative = 0.95 \[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=-\frac {2 e^3 \left (b^2 e-2 c (a e+c d x)+b c (-d+e x)\right )}{\left (b^2-4 a c\right ) \left (-c d^2+e (b d-a e)\right ) (e f-d g)^3 \sqrt {a+x (b+c x)}}-\frac {2 e^2 g \left (b^2 g-2 c (a g+c f x)+b c (-f+g x)\right )}{\left (b^2-4 a c\right ) (-e f+d g)^3 \left (-c f^2+g (b f-a g)\right ) \sqrt {a+x (b+c x)}}-\frac {2 g \left (b^2 g-2 c (a g+c f x)+b c (-f+g x)\right )}{\left (b^2-4 a c\right ) (-e f+d g) \left (-c f^2+g (b f-a g)\right ) (f+g x)^2 \sqrt {a+x (b+c x)}}+\frac {2 e g \left (b^2 g-2 c (a g+c f x)+b c (-f+g x)\right )}{\left (b^2-4 a c\right ) (e f-d g)^2 \left (-c f^2+g (b f-a g)\right ) (f+g x) \sqrt {a+x (b+c x)}}+\frac {e g^2 \left (\frac {2 \left (4 c^2 f^2+3 b^2 g^2-4 c g (b f+2 a g)\right ) \sqrt {a+x (b+c x)}}{\left (b^2-4 a c\right ) \left (c f^2+g (-b f+a g)\right )^2 (f+g x)}+\frac {3 g (2 c f-b g) \text {arctanh}\left (\frac {-b f+2 a g-2 c f x+b g x}{2 \sqrt {c f^2+g (-b f+a g)} \sqrt {a+x (b+c x)}}\right )}{\left (c f^2+g (-b f+a g)\right )^{5/2}}\right )}{2 (e f-d g)^2}-\frac {g^2 \left (\frac {4 \left (8 c^2 f^2+5 b^2 g^2-4 c g (2 b f+3 a g)\right ) \sqrt {a+x (b+c x)}}{(f+g x)^2}+\frac {2 (2 c f-b g) \left (8 c^2 f^2+15 b^2 g^2-4 c g (2 b f+13 a g)\right ) \sqrt {a+x (b+c x)}}{\left (c f^2+g (-b f+a g)\right ) (f+g x)}+\frac {3 \left (b^2-4 a c\right ) g \left (16 c^2 f^2+5 b^2 g^2-4 c g (4 b f+a g)\right ) \text {arctanh}\left (\frac {-b f+2 a g-2 c f x+b g x}{2 \sqrt {c f^2+g (-b f+a g)} \sqrt {a+x (b+c x)}}\right )}{\left (c f^2+g (-b f+a g)\right )^{3/2}}\right )}{8 \left (b^2-4 a c\right ) (-e f+d g) \left (c f^2+g (-b f+a g)\right )^2}-\frac {e^5 \text {arctanh}\left (\frac {-2 a e+2 c d x+b (d-e x)}{2 \sqrt {c d^2+e (-b d+a e)} \sqrt {a+x (b+c x)}}\right )}{\left (c d^2+e (-b d+a e)\right )^{3/2} (-e f+d g)^3}-\frac {e^2 g^3 \text {arctanh}\left (\frac {-2 a g+2 c f x+b (f-g x)}{2 \sqrt {c f^2+g (-b f+a g)} \sqrt {a+x (b+c x)}}\right )}{(e f-d g)^3 \left (c f^2+g (-b f+a g)\right )^{3/2}} \]

[In]

Integrate[1/((d + e*x)*(f + g*x)^3*(a + b*x + c*x^2)^(3/2)),x]

[Out]

(-2*e^3*(b^2*e - 2*c*(a*e + c*d*x) + b*c*(-d + e*x)))/((b^2 - 4*a*c)*(-(c*d^2) + e*(b*d - a*e))*(e*f - d*g)^3*
Sqrt[a + x*(b + c*x)]) - (2*e^2*g*(b^2*g - 2*c*(a*g + c*f*x) + b*c*(-f + g*x)))/((b^2 - 4*a*c)*(-(e*f) + d*g)^
3*(-(c*f^2) + g*(b*f - a*g))*Sqrt[a + x*(b + c*x)]) - (2*g*(b^2*g - 2*c*(a*g + c*f*x) + b*c*(-f + g*x)))/((b^2
 - 4*a*c)*(-(e*f) + d*g)*(-(c*f^2) + g*(b*f - a*g))*(f + g*x)^2*Sqrt[a + x*(b + c*x)]) + (2*e*g*(b^2*g - 2*c*(
a*g + c*f*x) + b*c*(-f + g*x)))/((b^2 - 4*a*c)*(e*f - d*g)^2*(-(c*f^2) + g*(b*f - a*g))*(f + g*x)*Sqrt[a + x*(
b + c*x)]) + (e*g^2*((2*(4*c^2*f^2 + 3*b^2*g^2 - 4*c*g*(b*f + 2*a*g))*Sqrt[a + x*(b + c*x)])/((b^2 - 4*a*c)*(c
*f^2 + g*(-(b*f) + a*g))^2*(f + g*x)) + (3*g*(2*c*f - b*g)*ArcTanh[(-(b*f) + 2*a*g - 2*c*f*x + b*g*x)/(2*Sqrt[
c*f^2 + g*(-(b*f) + a*g)]*Sqrt[a + x*(b + c*x)])])/(c*f^2 + g*(-(b*f) + a*g))^(5/2)))/(2*(e*f - d*g)^2) - (g^2
*((4*(8*c^2*f^2 + 5*b^2*g^2 - 4*c*g*(2*b*f + 3*a*g))*Sqrt[a + x*(b + c*x)])/(f + g*x)^2 + (2*(2*c*f - b*g)*(8*
c^2*f^2 + 15*b^2*g^2 - 4*c*g*(2*b*f + 13*a*g))*Sqrt[a + x*(b + c*x)])/((c*f^2 + g*(-(b*f) + a*g))*(f + g*x)) +
 (3*(b^2 - 4*a*c)*g*(16*c^2*f^2 + 5*b^2*g^2 - 4*c*g*(4*b*f + a*g))*ArcTanh[(-(b*f) + 2*a*g - 2*c*f*x + b*g*x)/
(2*Sqrt[c*f^2 + g*(-(b*f) + a*g)]*Sqrt[a + x*(b + c*x)])])/(c*f^2 + g*(-(b*f) + a*g))^(3/2)))/(8*(b^2 - 4*a*c)
*(-(e*f) + d*g)*(c*f^2 + g*(-(b*f) + a*g))^2) - (e^5*ArcTanh[(-2*a*e + 2*c*d*x + b*(d - e*x))/(2*Sqrt[c*d^2 +
e*(-(b*d) + a*e)]*Sqrt[a + x*(b + c*x)])])/((c*d^2 + e*(-(b*d) + a*e))^(3/2)*(-(e*f) + d*g)^3) - (e^2*g^3*ArcT
anh[(-2*a*g + 2*c*f*x + b*(f - g*x))/(2*Sqrt[c*f^2 + g*(-(b*f) + a*g)]*Sqrt[a + x*(b + c*x)])])/((e*f - d*g)^3
*(c*f^2 + g*(-(b*f) + a*g))^(3/2))

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(2684\) vs. \(2(1010)=2020\).

Time = 1.14 (sec) , antiderivative size = 2685, normalized size of antiderivative = 2.52

method result size
default \(\text {Expression too large to display}\) \(2685\)

[In]

int(1/(e*x+d)/(g*x+f)^3/(c*x^2+b*x+a)^(3/2),x,method=_RETURNVERBOSE)

[Out]

1/g^2/(d*g-e*f)*(-1/2/(a*g^2-b*f*g+c*f^2)*g^2/(x+f/g)^2/((x+f/g)^2*c+(b*g-2*c*f)/g*(x+f/g)+(a*g^2-b*f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
c*f)/g)/(4*c*(a*g^2-b*f*g+c*f^2)/g^2-(b*g-2*c*f)^2/g^2)/((x+f/g)^2*c+(b*g-2*c*f)/g*(x+f/g)+(a*g^2-b*f*g+c*f^2)
/g^2)^(1/2))

Fricas [F(-1)]

Timed out. \[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=\text {Timed out} \]

[In]

integrate(1/(e*x+d)/(g*x+f)^3/(c*x^2+b*x+a)^(3/2),x, algorithm="fricas")

[Out]

Timed out

Sympy [F(-1)]

Timed out. \[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=\text {Timed out} \]

[In]

integrate(1/(e*x+d)/(g*x+f)**3/(c*x**2+b*x+a)**(3/2),x)

[Out]

Timed out

Maxima [F]

\[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=\int { \frac {1}{{\left (c x^{2} + b x + a\right )}^{\frac {3}{2}} {\left (e x + d\right )} {\left (g x + f\right )}^{3}} \,d x } \]

[In]

integrate(1/(e*x+d)/(g*x+f)^3/(c*x^2+b*x+a)^(3/2),x, algorithm="maxima")

[Out]

integrate(1/((c*x^2 + b*x + a)^(3/2)*(e*x + d)*(g*x + f)^3), x)

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 14979 vs. \(2 (1010) = 2020\).

Time = 4.14 (sec) , antiderivative size = 14979, normalized size of antiderivative = 14.08 \[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=\text {Too large to display} \]

[In]

integrate(1/(e*x+d)/(g*x+f)^3/(c*x^2+b*x+a)^(3/2),x, algorithm="giac")

[Out]

2*e^5*arctan(-((sqrt(c)*x - sqrt(c*x^2 + b*x + a))*e + sqrt(c)*d)/sqrt(-c*d^2 + b*d*e - a*e^2))/((c*d^2*e^3*f^
3 - b*d*e^4*f^3 + a*e^5*f^3 - 3*c*d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- 56*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))^2*c^(5/2)*d*f^3*g^4 - 68*(sq
rt(c)*x - sqrt(c*x^2 + b*x + a))^2*b*c^(3/2)*e*f^3*g^4 + 48*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))^2*b*c^(3/2)*d*
f^2*g^5 + 17*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))^2*b^2*sqrt(c)*e*f^2*g^5 - 20*(sqrt(c)*x - sqrt(c*x^2 + b*x +
a))^2*a*c^(3/2)*e*f^2*g^5 - 13*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))^2*b^2*sqrt(c)*d*f*g^6 + 28*(sqrt(c)*x - sqr
t(c*x^2 + b*x + a))^2*a*c^(3/2)*d*f*g^6 + 12*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))^2*a*b*sqrt(c)*e*f*g^6 - 8*(sq
rt(c)*x - sqrt(c*x^2 + b*x + a))^2*a*b*sqrt(c)*d*g^7 - 8*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))^2*a^2*sqrt(c)*e*g
^7 + 72*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*b*c^2*e*f^4*g^3 - 56*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*b*c^2*d*f
^3*g^4 - 64*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*b^2*c*e*f^3*g^4 - 112*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*a*c^
2*e*f^3*g^4 + 44*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*b^2*c*d*f^2*g^5 + 88*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*
a*c^2*d*f^2*g^5 + 13*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*b^3*e*f^2*g^5 + 104*(sqrt(c)*x - sqrt(c*x^2 + b*x + a
))*a*b*c*e*f^2*g^5 - 9*(sqrt(c)*x - sqrt(c*x^2 + b*x + a))*b^3*d*f*g^6 - 60*(sqrt(c)*x - s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2*d*e*f^3*g^5 - 6*a^2*c*d*e*f^3*g^5 - 3*a^2*b*e^2*f^3
*g^5 + 3*a*b^2*d^2*f^2*g^6 + 3*a^2*c*d^2*f^2*g^6 + 6*a^2*b*d*e*f^2*g^6 + a^3*e^2*f^2*g^6 - 3*a^2*b*d^2*f*g^7 -
 2*a^3*d*e*f*g^7 + a^3*d^2*g^8)*((sqrt(c)*x - sqrt(c*x^2 + b*x + a))^2*g + 2*(sqrt(c)*x - sqrt(c*x^2 + b*x + a
))*sqrt(c)*f + b*f - a*g)^2)

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{(d+e x) (f+g x)^3 \left (a+b x+c x^2\right )^{3/2}} \, dx=\int \frac {1}{{\left (f+g\,x\right )}^3\,\left (d+e\,x\right )\,{\left (c\,x^2+b\,x+a\right )}^{3/2}} \,d x \]

[In]

int(1/((f + g*x)^3*(d + e*x)*(a + b*x + c*x^2)^(3/2)),x)

[Out]

int(1/((f + g*x)^3*(d + e*x)*(a + b*x + c*x^2)^(3/2)), x)